package com.dengcj.epl.enums.ecology.workflow;

/**
 * 请求状态枚举
 * 0：创建 Create
 * 1：批准 Approve
 * 2：提交 Commit
 * 3：归档 Archives
 */
public enum RequestStatus {
    Create(0, "创建"),
    Approve(1, "批准"),
    Commit(2, "提交"),
    Archives(3, "归档");

    private int index;
    private String name;

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    RequestStatus(int index, String name){
        this.index = index;
        this.name = name;
    }
}
